/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ticketmaster.dataobject;

/**
 *
 * @author Xiaolong Xue
 */
public class ShippingMethod
{
    private int shippingMethodID;
    private String name;
    private double price;

    public ShippingMethod()
    {

    }
    
    public ShippingMethod(String name, double price)
    {
        this.name = name;
        this.price = price;
    }

    /**
     * @return the shippingMethodID
     */
    public int getShippingMethodID()
    {
        return shippingMethodID;
    }

    /**
     * @param shippingMethodID the shippingMethodID to set
     */
    public void setShippingMethodID(int shippingMethodID)
    {
        this.shippingMethodID = shippingMethodID;
    }
    
    /**
     * `@return the name
     */
    public String getName()
    {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name)
    {
        this.name = name;
    }
    
    /**
     * @return the price
     */
    public double getPrice()
    {
        return price;
    }
    
    /**
     * @param price the price to set
     */
    public void setPrice(double price)
    {
        this.price = price;
    }

    @Override
    public String toString()
    {
        return this.name;
    }
}
